/**
 * general stylesheet for andreas-demmer.de, defines layout for all browsers
 *
 * @author Andreas Demmer
 */

/* general definitions ---------------------------------- */

html, body {
	height: 100%;
	width: 100%;
}

body {
	font-family: calibri, lucida grande, arial, sans-serif;
	font-size: 62.5%;
	color: #4c4b3a;
	background-color: #e6e2af;
	background-image: url(/images/layout/bg.jpg);
	background-position: 0px 0px;
	background-repeat: repeat-x;
}

i, em {
	font-style: italic;
}

a {
	color: #4c4b3a;
	text-decoration: underline;
}

a:hover {
	color: #046380;
}

a[href $=".pdf"] {
	padding-right: 18px;
	padding-bottom: 2px;
	background-image: url(/images/layout/icon_pdf.gif);
	background-position: right top;
	background-repeat: no-repeat;
}

h1 a {
	z-index: 100;
	display: block;
	top: 0px;
	width: 120px;
	height: 120px;
	margin-left: 20px;
	background-image: url(/images/layout/ribbon.png);
	background-position: 0px 0px;
	background-repeat: no-repeat;
	cursor: pointer;
}

h1 a:hover {
	background-position: 0px -120px;
}

h1 a span {
	display: none;
}

h2 {
	clear: both;
	color: #046380;
	font-size: 1.8em;
	margin-bottom: 20px;
}

h3 {
	clear: both;
	color: #046380;
	font-size: 1.4em;
	margin-bottom: 10px;
}

strong {
	font-weight: bold;
}

ol {
	list-style-type: upper-roman;
}

#tooltipTitle {
	padding: 5px;
	background-color: #e6e2af;
	border: 1px solid #a7a37e;
}

.tooltip {
	font-weight: bold;
	color: #4c4b3a;
	font-size: 1.2em;
	padding: 0px 10px 10px 0px;
	background-image: url(/images/layout/pictureframe.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}

.hidden {
	display: none;
}

.sIFR-alternate {
	display: none;
}

/* layout ---------------------------------- */

#top {
	position: absolute;
	top: 0px;
	left: 0px;
}

#browser_shadow {
	z-index: 101;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 20px;
	background-image: url(/images/layout/browser_shadow.png);
	background-repeat: repeat-x;
}

#behind_this_site {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	min-width: 1005px;
	height: 1px;
	overflow: visible;
	z-index: 102;
}

#behind_this_site a {
	display: block;
	float: right;
	width: 50px;
	height: 50px;
	background-image: url(/images/layout/behind_this_site.jpg);
	background-repeat: no-repeat;
}

#behind_this_site a span {
	display: none;
}

#stage {
	margin: 0px auto;
	width: 980px;
}

/* main menu ---------------------------------- */

#navigation {
	width: 100%;
	margin: 15px auto 0px auto;
}

#navigation h2, #navigation h3 {
	display: none;
}

#navigation .main {
	float: left;
	display: block;
	width: 380px;
	height: 30px;
	overflow: hidden;
	margin: 0px 0px 0px 250px;
	padding: 0px;
}

#navigation .main li {
	float: left;
	list-style: none;
	font-size: 1.4em;
	height: 30px;
}

#navigation .main li.first {
	display: none;
}

#navigation .main li.back {
	background-color: #046380;
	width: 9px;
	z-index: 8;
	position: absolute;
}

#navigation .main li a {
	text-decoration: none;
	text-align: center;
	z-index: 10;
	display: block;
	float: left;
	height: 30px;
	position: relative;
	overflow: hidden;
	padding: 0px 10px;
	background-position: 10px 0px;
	background-repeat: no-repeat;
}

#navigation .main li.back span.left, #navigation .main li.back span.right {
	display: block;
	width: 10px;
	height: 30px;
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

#navigation .main li.back span.left {
	float: left;
	background-image: url(/images/layout/menu_hover_left.gif);
}

#navigation .main li.back span.right {
	float: right;
	background-position: 2px 0px;
	background-image: url(/images/layout/menu_hover_right.gif);
}

#navigation .main li a:hover, #navigation .main li a:active, #navigation .main li a:visited {
	border: none;
}

#navigation .main a.weblog {
	width: 54px;
	background-image: url(/images/layout/menu_weblog.png);
}

#navigation .main a.privates {
	width: 60px;
	background-image: url(/images/layout/menu_privates.png);
}

#navigation .main a.beruf {
	width: 48px;
	background-image: url(/images/layout/menu_beruf.png);
}

#navigation .main a.projekte {
	width: 62px;
	background-image: url(/images/layout/menu_projekte.png);
}

#navigation .main a.kontakt {
	width: 56px;
	background-image: url(/images/layout/menu_kontakt.png);
}

#navigation .main a span {
	display: none;
}

#navigation .main a.cssHover:hover, #navigation .main a.current {
	background-color: #046380;
}

/* meta menu ---------------------------------- */

#navigation .meta {
	float: right;
	display: block;
	height: 30px;
	margin: 0px 35px 0px 0px;
	list-style: none;
}

#navigation .meta li {
	float: left;
	display: block;
	height: 30px;
}

#navigation .meta a {
	display: block;
	float: left;
	margin: 10px 10px 0px 0px;
	color: #efecca;
	font-size: 1.1em;
	text-decoration: underline;
}


#navigation .meta a:hover {
	color: white
}

#navigation .meta form {
	display: block;
	height: 17px;
	width: 105px;
	padding: 10px 0px 0px 0px;
	background-image: url(/images/layout/searchbox.jpg);
	background-position: 0px 12px;
	background-repeat: no-repeat;
}

#navigation .meta  form .searchbox {
	width: 85px;
	height: 12px;
	padding: 0px 0px 0px 5px;
	border: 0px;
	color: #a7a37e;
	background-color: transparent;
	font-family: arial, sans-serif;
	font-size: 1.1em;
	line-height: 1.1em;
}

#navigation .meta  form .button {
	position: relative;
	top: 2px;
	width: 12px;
	height: 12px;
}

#navigation .meta  form .focussed {
	padding-top: 2px;
	color: #4c4b3a;
	background-color: white;
	font-family: calibri, lucida grande, arial, sans-serif;
	font-size: 1.2em;
	background-image: none;
	background-position: right 3px;
	background-repeat: no-repeat;
}

#navigation .meta form .submit {
	width: 12px;
	height: 12px;
}

/* content ---------------------------------- */

#page {
	float: left;
	width: 650px;
	background-color: white;
	background-image: url(/images/layout/page_bg_middle.jpg);
	background-position: 0px 0px;
	background-repeat: repeat-y;
}

#page .content {
	width: 520px;
	min-height: 280px;
	padding: 70px 80px 0px 50px;
	font-size: 1.4em;
	line-height: 1.8em;
	background-image: url(/images/layout/page_bg_top.jpg);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

#page .content .hr {
	position: relative;
	left: -29px;
	width: 600px;
	height: 80px;
	border: 0px;
	margin: 0px;
	background-image: url(/images/layout/pagefold.png);
	background-position: 0px 0px;
	background-repeat: repeat-x;
}

#page .content hr {
	display: none;
}

#page .content p {
	margin-bottom: 15px;
}

#page .content a {
	background-position: right 0px;
	background-repeat: no-repeat;
}

#page .content img {
	display: block;
	float: left;
	margin: 5px 5px 0px 0px;
	padding: 5px 15px 15px 5px;
	background-image: url(/images/layout/pictureframe.png);
	background-position: right bottom;
	background-repeat: no-repeat;
}

#page .content img.no_pictureframe {
	margin: 5px 15px 10px 0px;
	background-image: none;
}

#page .footer {
	width: 550px;
	height: 90px;
	padding: 190px 50px 0px;
	text-align: right;
	background-color: white;
	background-image: url(/images/layout/page_bg_bottom.jpg);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

#page .footer a {
	color: #84825c;
	display: block;
	float: right;
	padding: 5px 0px 0px 24px;
	font-family: arial, sans-serif;
	font-weight: bold;
	cursor: pointer;
	height: 16px;
	background-image: url(/images/layout/icon_up.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

#page .footer a:hover {
	color: #046380;
}

/* sub menu ---------------------------------- */

#page .content .submenu {
	float: right;
	position: relative;
	top: -30px;
	left: 30px;
	display: block;
	list-style: none;
	margin: 0px;
}

#page .content .submenu li {
	float: left;
	display: block;
}

#page .content .submenu li.first {
	display: none;
}


#page .content .submenu a {
	position: relative;
	float: left;
	display: block;
	overflow: hidden;
	z-index: 10;
	color: #84825c;
	font-size: 1.1em;
	text-decoration: underline;
	padding: 4px 0px 0px 0px;
	margin: 0px 10px;
	height: 26px;
}

#page .content .submenu a.cssHover {
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 0px;
	margin-right: 0px;
}

#page .content .submenu .current a {
	text-decoration: none;
}

#page .content .submenu a.cssHover:hover, #page .content .submenu a.cssHover.current {
	background-color: #e6e2af;
}

#page .content .submenu .back {
	width: 9px;
	height: 30px;
	z-index: 8;
	position: absolute;
}

#page .content .submenu li.back span.left, #page .content .submenu li.back span.right {
	display: block;
	width: 10px;
	height: 30px;
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

#page .content .submenu li.back span.left {
	float: left;
	background-image: url(/images/layout/submenu_hover_left.png);
}

#page .content .submenu li.back span.right {
	position: relative;
	top: -30px;
	float: right;
	background-image: url(/images/layout/submenu_hover_right.png);
}

#page .content .submenu li.back span.middle {
	display: block;
	height: 30px;
	margin: 0px 10px;
	background-color: #e6e2af;
}

/* content ---------------------------------- */

#page .content dl {
	margin: 0px 0px 25px;
	border: 0px;
	border-bottom: 1px solid #9f9f95;
}

#page .content dt {
	display: block;
	margin-bottom: 1px;
	padding: 2px 5px;
	color: #5F5F50 !important;
	background-color: #c3c2ad;
	text-decoration: none;
	font-weight: bold;
	border: 0px;
	border-right: 1px solid #9f9f95;
	border-bottom: 1px solid #9f9f95;
	}

#page .content dd {
	overflow: auto;
	padding: 5px 2px 5px 5px;
	background-color: #dfded1;
	border: 0px;
	border-left: 1px solid #9f9f95;
	border-right: 1px solid #9f9f95;
}

#page .content .accordion_active {
	color: #fff !important;
	background-color: #a7a37e;
}

#page .content .accordion_hover {
	background-color: #D5D3C1;
	cursor: pointer;
}

#page .content p, #content li {
	margin-bottom: 15px;
}

#page .content dd img {
	float: right;
	margin: 5px 0px 5px 15px;
}

#page .content #pagelist p {
    float: left;
    margin: 0px 10px 0px 0px;
}

#page .content #pagelist ul {
    list-style: none;
    float: left;
    margin: 0px;
}

#page .content #pagelist li {
    float: left;
    padding: 0px 5px;
    border: 0px;
    border-left: 1px solid #a7a37e;
}

#page .content #pagelist li.first_page {
    border-left: 0px;
    padding: 0px;
    width: 23px;
    height: 18px;
}

#page .content #pagelist li.last_page {
    padding: 0px;
    width: 23px;
    height: 25px;
}

#page .content #pagelist li.current_page {
    font-weight: bold;
    background-color: #e6e2af;
}

#page .content #pagelist li.current_page.first_page {
    border-left: 0px;
    padding: 0px 4px;
    width: auto;
    height: auto;
}

#page .content #pagelist li.current_page.last_page {
    padding: 0px 4px;
    width: auto;
    height: auto;
}

/* teasers ---------------------------------- */

.teaser {
	float: left;
	width: 325px;
	color: white;
	border: 0px;
	border-bottom: 1px solid #e6e2af;
	background-color: #046380;
	background-image: url(/images/layout/teaser_middle.jpg);
	background-position: 0px 0px;
	background-repeat: repeat-y;
	float: left;
}

.teaser .content {
	width: 230px;
	min-height: 155px;
	font-size: 1.2em;
	line-height: 1.4em;
	padding: 45px 55px 0px 40px;
	background-image: url(/images/layout/teaser_top.jpg);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

.teaser a {
	color: #efecca;
	background-position: right top;
	background-repeat: no-repeat;
}

.teaser a:hover {
	color: white;
}

.teaser p {
	display: block;
	margin: 0px 0px 5px 0px;
}

.teaser p.more {
	margin-top: 10px;
}

.teaser.first .content {
	min-height: 160px;
	background-image: url(/images/layout/teaser_top_first.jpg);
}

.teaser.first h3 {
	margin: 3px 0px 15px 0px;
}

.teaser h3 {
	color: white;
	font-size: 1.4em;
	margin: 0px 0px 15px 0px;
}

.teaser h4 {
	color: white;
	font-size: 1.1em;
	margin: 0px 0px 5px 0px;
	font-weight: bold;
}

.teaser .infolist {
	display: block;
}

.teaser .infolist a {
	display: block;
    padding-bottom: 5px;
}

.teaser .infolist a:hover {
	margin-bottom: 5px;
	padding: 3px;
	color: #4c4b3a;
	background-color: #efecca;
	border: 1px solid #a7a37e;
	text-decoration: none;
	font-weight: bold;
}

.teaser .infolist a span {
	display: none;
}

.teaser .infolist a:hover span {
	display: block;
	margin-top: 10px;
	font-weight: normal;
	color: #4c4b3a;
}

.teaser .footer {
	height: 95px;
	background-image: url(/images/layout/teaser_bottom.jpg);
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

/* AJAX Searchresults  -------------------------------------- */

#quickresults {
	position: absolute;
	top: 50px;
    min-width: 300px;
	width: 300px;
	color: #4c4b3a;
	display: none;
	z-index: 999;
	font-size: 1.2em;
}

#quickresults h3 {
    margin: 0px 0px 10px 0px;
}

#quickresults a {
	display: block;
    min-width: 300px;
	width: 300px;
    color: #4c4b3a;
    background-color: white;
    border: 0px;
    text-decoration: none;
    padding: 3px;
    font-weight: bold;
}

#quickresults a:hover {
    min-width: 300px;
    width: 300px;
}

#quickresults p {
    margin: 0px 0px 5px 0px;
}

#quickresults .infolist {
    min-width: 290px;
    width: 290px;
}

#quickresults .infolist span.highlight {
    display:inline;
    font-weight:bold;
}

#quickresults .infolist a span.info {
    display: block;
    margin-top: 0px;
    font-weight: normal;
    border-top: 1px dashed #888;
    padding: 5px 0px 0px 0px;
}